package com.zxl.common.model.bo.sms;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author zxw
 * @date 2023/4/5
 */
@Data
public class SmsCheck {
    @ApiModelProperty("手机号")
    @NotBlank(message = "手机号不能为空")
    private String phone;

    @ApiModelProperty("验证码")
    @NotBlank(message = "验证码不能为空")
    private String code;

    @ApiModelProperty(value = "验证码类型",hidden = true)
    private Integer codeType = 1;
}
